summarise
{dplyr}
collapse the dataset to a summary statistic. Usually used with group_by()
pie
{graphics}
Creates a basic pie chart
boxplot
{graphics}
Plot a simple box plot
aes
{GGPLOT2}
Construct aesthetic mapping of a ggplot graph
ungroup
{dplyr}
Resolve grouping created with “group_by”
var
{stats}
Calculate variance
seq
{base}
Create a sequence
max
{base}
Get maximum of a vector
ggtitle
{GGPLOT2}
Generates a title for a ggplot graph
install.packages
{base}
Install R package
ordered
{dplyr}
Create an ordered factor
freq
{questionr}
Generate frequency tables
geom_histogram
{GGPLOT2}
Generates a histogram
ggplot
{GGPLOT2}
Create a ggplot graph
min
{base}
Get minimum of a vector
cut
{base}
Convert Numeric to Factor
sum
{base}
Get sum of numeric values or a vector
labs
{GGPLOT2}
Customise labels in GGPLOT2
median
{stats}
Get median of a vector
read_excel
{readxl}
Read an Excel file
summary
{base}
Obtain summary statistics or detailed regression output
group_by
{dplyr}
Group tibble/data.frame by a factor variable. All further tidyverse operations are performed group-wise
levels
{base}
Get levels of a factor
subset
{base}
Return subsets of vectors, matrices or data frames which meet conditions.
lprop
{questionr}
Display row percentages of a two-way frequency table
arrange
{dplyr}
Sort values of data frame according to a variable/combination of varaibles
filter
{dplyr}
Filter out rows of a data frame according to logical vector
is.na
{base}
Check if a value is NA/elements of vector are NA
theme_classic
{GGPLOT2}
A minimalistic theme with no gridlines
select
{dplyr}
Select columns from a tibble/data frame
range
{base}
Return range of values
desc
{dplyr}
Arrange in descending order
mutate
{dplyr}
Modify/create a column in a data frame
geom_bar
{GGPLOT2}
Generates a bar chart
factor
{base}
Create a factor
slice
{dplyr}
Subset rows using their positions
rm
{base}
Remove objects
recode
{dplyr}
Recode a variable
scale_x_continuous
{GGPLOT2}
Customise continuous x axis
hist
{graphics}
Plot a simple histogram
The end!